package com.cssy.mf.enums;
/**
 * 销售模块相关常量
 * @author huang.xuming
 *
 */
public enum SoConstantEnum {

	/* 销售订单单据状态*/
	SO_BILLSTATUS_DRAFT("0","草稿"),
	SO_BILLSTATUS_APPROVE_2("2","二级审核"),
	SO_BILLSTATUS_APPROVE_3("3","三级审批"), 
	SO_BILLSTATUS_END_2("4","二级结案"), 
	SO_BILLSTATUS_END_3("5","三级结案"), 
	SO_BILLSTATUS_REBUT_2("6","二级驳回"), 
	SO_BILLSTATUS_REBUT_3("7","三级驳回"), 
	SO_BILLSTATUS_CANCEL("8","取消"), 
	
	/* 销售订单出库状态*/
	SO_WARESTATUS_UNOUT("0","未出库"), 
	SO_WARESTATUS_PARTOUT("1","部分出库"), 
	SO_WARESTATUS_ALLOUT("2","全部出库"), 
	SO_WARESTATUS_PARTRETURN("3","部分退货"),
	SO_WARESTATUS_ALLRETURN("4","全部退货"),
	
	
	/*SO_FROZENSTATUS_APPROVE3_3("3",""), 
	SO_BILLSTATUS_APPROVE23_3("3",""), 
	SO_BILLSTATUS_APPROVE43_3("3",""), 
	SO_BILLSTATUS_APPROVE_233("3","")*/;  
	
	private final String state;
    
    private final String desc;

    SoConstantEnum(final String state,final String desc){
        this.state = state;
        this.desc = desc;
    }


	 public String getValue() {
	        return this.state;
	    }
	    
	    public String getDesc() {
	        return this.desc;
	    }
	    
	    public String toString() {
	        return this.desc;
	    }
}
